.class Lcom/htc/android/footprints/activity/FootprintDetailEditActivity$11;
.super Ljava/lang/Object;
.source "FootprintDetailEditActivity.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->onCreateDialog(I)Landroid/app/Dialog;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;


# direct methods
.method constructor <init>(Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 1101
    iput-object p1, p0, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity$11;->this$0:Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 3
    .parameter "dialog"
    .parameter "which"

    .prologue
    .line 1102
    iget-object v1, p0, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity$11;->this$0:Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;

    #getter for: Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->categories:Ljava/util/ArrayList;
    invoke-static {v1}, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->access$2000(Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, p2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/htc/android/footprints/vo/Category;

    .line 1103
    .local v0, c:Lcom/htc/android/footprints/vo/Category;
    iget-object v1, p0, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity$11;->this$0:Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;

    #getter for: Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->mFootprint:Lcom/htc/android/footprints/vo/Footprint;
    invoke-static {v1}, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->access$100(Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;)Lcom/htc/android/footprints/vo/Footprint;

    move-result-object v1

    iget-object v2, v0, Lcom/htc/android/footprints/vo/Category;->mKeyword:Ljava/lang/String;

    iput-object v2, v1, Lcom/htc/android/footprints/vo/Footprint;->mCategory:Ljava/lang/String;

    .line 1104
    iget-object v1, p0, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity$11;->this$0:Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;

    #getter for: Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->categoryButton:Landroid/widget/Button;
    invoke-static {v1}, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->access$2100(Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;)Landroid/widget/Button;

    move-result-object v1

    iget-object v2, v0, Lcom/htc/android/footprints/vo/Category;->mName:Ljava/lang/String;

    invoke-virtual {v1, v2}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    .line 1105
    iget-object v1, p0, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity$11;->this$0:Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;

    #setter for: Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->categoryIndex:I
    invoke-static {v1, p2}, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->access$2202(Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;I)I

    .line 1106
    invoke-interface {p1}, Landroid/content/DialogInterface;->dismiss()V

    .line 1107
    return-void
.end method
